<?php
/**
 * 后台首页
 *
 */
class IndexController extends Cms_AdminController {
	/**
	 * 初始化
	 *
	 */
	public function init() {
		parent::init ();
	}
	
	public function indexAction() {
		set_site_seo ( "ZendCMS", null, "ZendCMS后台管理中心", "CMS,ZendCMS后台管理中心" );
		
		//引入js文件
		$this->view->setScriptFile ( 'admin/index.js' );
		
		//顶部导航菜单
		$admin_menu = Model_Menu::admin_menu ( 0 );
		
		//$this->_redirect('Login');
		$this->view->assign ( 'admin_menu', $admin_menu );
		
		$this->render ( 'index', null, true );
	}
}
?>